package com.rawchen.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.rawchen.entity.About;

import java.util.Map;

public interface AboutService extends IService<About> {
	/**
	 * 获取关于我页面信息
	 *
	 * @return map映射，键为NameEn，值为value
	 */
	Map<String, String> getAboutInfo();

	Map<String, String> getAboutSetting();

	/**
	 * 更新about数据，键为NameEn，值为新的value
	 */
	void updateAbout(Map<String, String> map);

	/**
	 * 获取关于我页面评论开关状态
	 *
	 * @return
	 */
	boolean getAboutCommentEnabled();
}
